export default { 
	getIndexData(params){
		return this.vm.$u.get("/recycle/Index/getIndexData", params,{useStoreApi: true})
	}, 
	// 抢单大厅
	getOrderList(params){
		return this.vm.$u.get("/recycle/Index/getOrderList", params,{useStoreApi: true})
	}, 
	// 废品列表
	getWasteList(params){
		return this.vm.$u.get("/recycle/Waste/list", params,{useStoreApi: true})
	},
	// banner
	getBanner(params){
		return this.vm.$u.get("/Banner/getBannerList", params, {useStoreApi: true})
	},
	getCode(params){
		return this.vm.$u.get("/applet/index/get_openid", params)
	}, 
	getMallIndexData(params){
		return this.vm.$u.post("/applet/index/getMallIndexData", params)
	},
	
	getShopIndexData(params){
		return this.vm.$u.post("/applet/index/getShopIndexData", params)
	},
	// 上传手机号
	getMobil(params){
		return this.vm.$u.post('/user/getmobile', params, {useStoreApi: true});
	},
	// 购物券
	getQuan(params){
		return this.vm.$u.post(`/ycshop/Coupon/getMyCoupon?type=${params.type}&state=${params.state}`, params, {useStoreApi: true});
	},
	// 联盟店铺（附近商家）
	getStoreList(params){
		return this.vm.$u.post('/store/lists', params, {useStoreApi: true});
	},
	//联盟数据
	getStoreData(params){
		return this.vm.$u.post('/store/getStoreData', params, {useStoreApi: true});
	},
	getUserCenterData(params){
		return this.vm.$u.post("/Index/getUserData", params,{useStoreApi: true}) 
	},
	getDocument(params){
		return this.vm.$u.post("/index/getDocument", params,{useStoreApi: true})
	},
	// 店铺分类列表
	shoptypelist(params){
		return this.vm.$u.post('/store/shoptypelist', params, {useStoreApi: true});
	},
	// 抽奖
	getLottery(params){
		return this.vm.$u.post('/lottery/draw/user_id/'+params.user_id, params, {useStoreApi: true});
	},
	// 获取奖品列表
	getPrizeList(params){
		return this.vm.$u.post('/lottery/getPrizeList/user_id/'+params.user_id, params, {useStoreApi: true});
	},
	// 获取购物车数据
	getCart(params){
		return this.vm.$u.post('/merchant/getCart', {}, {useStoreApi: true});
	},
	getCode(params){
		return this.vm.$u.post('/user/generateCode', params, {useStoreApi: true});
	},
	getPrizeRecords(params){
		return this.vm.$u.post('/lottery/getRecords', params, {useStoreApi: true});
	},
}